#ifndef __CHAT_H
#define __CHAT_H

#include "config.h"

using namespace std;
using namespace Chat;

extern void     ServerEnterChat(int* fd);
extern StateRet ServerGroupChat(const Message& msg, int sockfd);
extern StateRet ServerPersonalChat(const Message& msg, int sockfd);
extern StateRet ServerViewUserList(const Message& msg, int sockfd);
extern StateRet ServerViewRecords(const Message& msg, int sockfd);


#endif
